Automattic\Jetpack\Password_Checker A

Total Complexity 57
Dependencies 0
Dependents 1
Total lines 1,301
Lines of code 256
Logical lines of code 120
Comment lines 229
Methods 15
Properties 10

Methods 15

Method Rating Maintainability Complexity Lines of code
get_other_user_data()
A
49 9 32
run_tests()
S
51 7 26
get_charset_size()
S
54 7 22
test_not_same_as_other_user_data()
S
55 7 20
add_user_strings_to_test()
S
54 5 21
__construct()
S
58 5 15
get_tests()
S
44 2 53
test()
S
56 3 18
test_compare_to_list()
S
59 3 16
get_char_index()
S
66 3 8
calculate_entropy_bits()
S
59 2 13
test_preg_match()
S
78 1 3
get_common_passwords()
S
82 1 3
negative_in_array()
S
78 1 3
get_user_strings_to_test()
S
82 1 3